// const { defineConfig } = require('@vue/cli-service')
// module.exports = defineConfig({
//   transpileDependencies: true
// })
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, //关闭eslint校验
  devServer: {
    port: 8081,
/*    proxy: "https://6553-101-71-225-41.ngrok-free.app",*/
    proxy: "http://172.20.10.9:8080",
    /*proxy: "https://9841-101-71-227-41.ngrok-free.app",*/
    host: "0.0.0.0",
// disableHostCheck: true, // 禁用主机检查
    headers: {
  'Access-Control-Allow-Origin': '*' // 允许跨域访问，根据需要设置
}
  },
});